package com.indusfo.spc.pojo;

import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.Date;

/**
 * @author chenm
 * @create 2019-11-18 19:11
 */
@Table(name="sys_role_menu")
public class RoleMenu {
  @Id
  @Column(name="role_menu_id",insertable=false)
  private Integer roleMenuId;

  /*角色Id*/
  private Integer roleId;

  /*菜单编码*/
  private String menuCode;

  private Integer menuId;

  /*操作权限*/
  private Integer operationId;

  /*操作权限数据字典翻译*/
  @Transient
  private String operationName;

  /*说明*/
  private String remark;

 /* 数据状态*/
  private Integer dataState;

  @Transient
  private String dataStateName;

  /*授权标志*/
  @Transient
  private  Integer fightFlagId;

  @Transient
  private  String fightFlagName;

  /*创建时间*/
  private Date createDate;

  /*更改时间*/
  private Date modifyDate;

public Integer getRoleMenuId() {
	return roleMenuId;
}

public void setRoleMenuId(Integer roleMenuId) {
	this.roleMenuId = roleMenuId;
}

public Integer getRoleId() {
	return roleId;
}

public void setRoleId(Integer roleId) {
	this.roleId = roleId;
}

public String getMenuCode() {
	return menuCode;
}

public void setMenuCode(String menuCode) {
	this.menuCode = menuCode;
}

public Integer getMenuId() {
	return menuId;
}

public void setMenuId(Integer menuId) {
	this.menuId = menuId;
}

public Integer getOperationId() {
	return operationId;
}

public void setOperationId(Integer operationId) {
	this.operationId = operationId;
}

public String getOperationName() {
	return operationName;
}

public void setOperationName(String operationName) {
	this.operationName = operationName;
}

public String getRemark() {
	return remark;
}

public void setRemark(String remark) {
	this.remark = remark== null ? null : remark.trim().replace(" ","");
}

public Integer getDataState() {
	return dataState;
}

public void setDataState(Integer dataState) {
	this.dataState = dataState;
}

public String getDataStateName() {
	return dataStateName;
}

public void setDataStateName(String dataStateName) {
	this.dataStateName = dataStateName;
}

public Integer getFightFlagId() {
	return fightFlagId;
}

public void setFightFlagId(Integer fightFlagId) {
	this.fightFlagId = fightFlagId;
}

public String getFightFlagName() {
	return fightFlagName;
}

public void setFightFlagName(String fightFlagName) {
	this.fightFlagName = fightFlagName;
}

public Date getCreateDate() {
	return createDate;
}

public void setCreateDate(Date createDate) {
	this.createDate = createDate;
}

public Date getModifyDate() {
	return modifyDate;
}

public void setModifyDate(Date modifyDate) {
	this.modifyDate = modifyDate;
}

  
  
}
